<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">订单发布管理</h1>
</div>
<div class="wrapper-md" id="orderRelease">
    <div class="panel panel-default">
            <div class="panel-heading font-bold">查询</div>
            <div class="form-horizontal panel-body">
                <label class="control-label pull-left col-md-1">订单编号</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingOrderId" placeholder="请输入总询价编号">
                </div>
                <label class="control-label pull-left  col-md-1">订单状态</label>
                <div class="col-md-2 form-group">
                    <select class="form-control input-sm" v-model="searchingOrderStatus">
                        <option value="" selected>全部</option>
                        <option v-for="option in orderStatusList" v-bind:value="option.value">
                            {{ option.text }}
                        </option>
                    </select>
                </div>
                <!--<div class="line line-xs pull-in"></div>-->
                <label class="control-label pull-left col-md-1">发货起始时间</label>
                <div class="col-md-2 form-group date has-feedback">
                        <input id="ApplicationStartTime" datetimepicker plugintype="datetime" v-model="searchingStartTime" placeholder="请输入发货起始时间" class="form-control" type="text" />
                        <span id="openApplicationStartTime" class="form-control-feedback curpoint">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                </div>

                <label class="control-label pull-left col-md-1">发货结束时间</label>
                <div class="col-md-2 form-group date has-feedback">
                        <input id="ApplicationEndTime" datetimepicker plugintype="datetime" v-model="searchingEndTime" placeholder="请输入发货结束时间" class="form-control" type="text" />
                        <span id="openApplicationEndTime" class="form-control-feedback curpoint">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                </div>
                <label class="control-label pull-left col-md-1">发货地址</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingStartAddress" placeholder="请输入发货地址">
                </div>
                <label class="control-label pull-left col-md-1">送货地址</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingEndAddress" placeholder="请输入送货地址">
                </div>

                <label class="control-label pull-left col-md-1" ></label>
                <div class="col-md-2 form-group"></div>
                <label class="control-label pull-left  col-md-1"></label>
                <div class="col-md-2 form-group">
                    <button @click="queryUsers()" class="btn btn-sm btn-default btn-addon">
                        <i class="glyphicon glyphicon-search" v-show="!seeks"></i>
                        <i v-show="seeks">
                            <b class="fa fa-spinner no-bordr"  v-bind:class="{'fa-spin':seeks}"></b>
                        </i>
                        <span v-show="!seeks">查询</span>
                        <span v-show="seeks">查询中...</span>
                    </button>
                </div>
            </div>        
    </div>
    
    <div class="panel panel-default">
        <div class="panel-heading">
            订单发布管理列表
        </div>
        <div class="line line-xs pull-in"></div>
        <div class="table-responsive" >
            <table id="table" class="table table-hover" data-events="actionEvents"></table>
        </div>
        <div  class="panel-body">
            <pagination v-ref:table for="table" :per-page="PerPage" :records="Records" ></pagination>
            <p v-if="!Records   || Records<1 ">No records</p>
            <p v-else="Records"> 共{{Records}} 行 </p>      
            <div class="form-group">
				<a @click="LinkToOrderReleaseAdd()" class="pull-right-xs btn btn-sm btn-primary btn-addon"><i class="glyphicon glyphicon-list-alt"></i>订单新增</a>
			</div>
        </div>
    </div>

    
</div>